package com.imooc.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author : 浦希成
 * @date : 2018/7/31 9:43
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties("girl")
public class GirlConfig {
    private String name;
    private String age;
}
